home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d3 / asezas40.arc / SETUP.BAT < prev    next >
DOS Batch File  |  1989-11-16  |  3KB  |  73 lines

  1. echo off
  2. rem  ***  ASEASYAS Installation Procedure  ***
  3. if not %1a==a goto num
  4. cls
  5. echo                            AS-EASY-AS Installation            
  6. echo                                        *
  7. echo                     ****  ERROR - No Disk Specified  ****
  8. echo                           .........................
  9. echo     The SETUP command must be followed by a drive letter, and if necessary 
  10. echo     by a directory name.  For example, to install ASEASYAS on a formatted 
  11. echo     floppy disk, place the ASEASY disk in Drive A, the blank disk in drive 
  12. echo     B, and use the command 
  13. echo                                   SETUP b:
  14. echo     To install the program on drive C in a directory named ASEASY, place 
  15. echo     the ASEASYAS disk in drive A, and use the command 
  16. echo                               SETUP C:\ASEASY
  17. echo                                              :                 
  18. echo                 No trailing backslash  ......:
  19. echo     --------------------------------------------------------------------- 
  20. echo        Please decide which installation you want to use and try again. 
  21. echo     --------------------------------------------------------------------- 
  22. goto finals
  23. :num
  24. if exist aseasy.EXE goto insprog1
  25. if exist aseasy.com goto oldone
  26. cls
  27. echo                            AS-EASY-AS Installation            
  28. echo                                       *
  29. echo                    **  Error  -  ASEASY files not Found **          
  30. echo                                       *
  31. echo              The ASEASY Files are not on the current logged drive.
  32. ECHO       Either place the diskette with the original ASEASY files in the 
  33. echo       default drive and press  Y  to continue, or press  N  to abort 
  34. echo       the installation process  !!!
  35. echo                                       *
  36. yesno                            Continue 
  37. if not errorlevel=1 goto fin1
  38. :insprog1
  39. if not exist aseasy.EXE goto num
  40. if not exist setup.bat goto num
  41. copy setup.bat  %1\setup.bat >nul
  42. if not exist %1\setup.bat goto isnotdir
  43. cls
  44. echo                            AS-EASY-AS Installation            
  45. echo                                        *                       
  46. echo                            Copying the ASEASY Files
  47. copy *.* %1\*.* >nul
  48. goto finals
  49. :fin1
  50. echo           ******************************************************* 
  51. echo    *****  Abnormal Termination - Working Copy might be incomplete  ******
  52. echo           *******************************************************
  53. goto finals
  54. :isnotdir
  55. echo                            AS-EASY-AS Installation            
  56. echo                                        *                       
  57. echo                          Sub-Directory -- %1
  58. echo                   The specified sub-directory DOES NOT exist.
  59. echo               Please create it or use a different sub-directory.
  60. echo                     (Remember!   No Trailing Backslash) 
  61. echo                                        *                       
  62. goto finals
  63. :oldone
  64. echo     **** Incorrect SETUP version, this is for AS-EASY-AS Ver. 4.0  ****
  65. goto finals
  66. :fin
  67. echo           ******************************************************* 
  68. echo     *****      Normal Termination - Working Copy Complete        ******
  69. echo           *******************************************************
  70. :finals
  71.  
  72.  
  73.